#include <iostream>



int main()
{
    int a = 20;
    int b = 50;
    (a > b ? b : a) += 500;
    std::cout<<"a:"<<a<<"  b:"<<b<<std::endl;
    return 0;
}